package com.paul.sys.service;

import com.paul.sys.model.Ptstaff;
import com.paul.sys.model.Syrole;
import com.paul.sys.tools.PageData;

import java.util.List;
import java.util.Map;

/**
 * Created by yingg_000 on 2015/7/21.
 */
public interface SyroleService {
    public int delete(String unid);
    public int deletes(String[] unids);
    public int insert(Syrole record);
    public  Syrole selectById(String unid);

    public  int update(Syrole record);
    public List<Map> roleNamejudge(String rolename);
    public  List<Syrole> listRole(Map<String, String> param);
    public PageData<Syrole> listByPage(Map<String, String> param) ;
    List<Map> getTreebyRole(String roleunid);
    PageData<Ptstaff> getUserbyRole(String roleunid, Map<String, String> param);
    public int linkMenu(Map<String, Object> param);
    public int unlinkMenu(Map<String, Object> param);
    public  List<Map> getSimulationMessage();

}
